Plumb network vif credit-based rate limiting thorugh xenbus
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Fri, 31 Mar 2006 14:34:52 +0000 (15:34 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Fri, 31 Mar 2006 14:34:52 +0000 (15:34 +0100)
commite5829dcbe18cb47ca3c55b589289bbb67dd41213
tree562905db133d3e9c87632775287c9e5b46ad4421
parentf8253f9f488a40360cbd57d2d2efbf2ebc0671a3
Plumb network vif credit-based rate limiting thorugh xenbus
and xend into xm guest config files.

A new vif parameter 'rate' is supported, with an optional time window
paremeter for specifying granularity of credit replenishment. The default
window is 50ms. For example:

 'rate=10Mb/s'  'rate=250KB/s'  'rate=1MB/s@20ms'

From: Chris Clark <christopher.w.clark@gmail.com>

Signed-off-by: Keir Fraser <keir@xensource.com>
linux-2.6-xen-sparse/drivers/xen/netback/common.h
linux-2.6-xen-sparse/drivers/xen/netback/interface.c
linux-2.6-xen-sparse/drivers/xen/netback/xenbus.c
tools/python/xen/xend/server/netif.py
tools/python/xen/xm/create.py